package com.weipai.education.mapper;

import com.weipai.education.model.Message;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface MessageMapper {
    Integer insert(Message message);

    List<Map<String ,Object>> selectAll(@Param("userId") Integer userId);

    Integer getMessageNum(@Param("userId") Integer userId);

    Integer changeMessageStatus(@Param("messageId") Integer messageId);
}
